Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix nightly ci #4385

Merged
merged 1 commit into from
Jul 27, 2024
Merged

fix nightly ci #4385

merged 1 commit into from
Jul 27, 2024

Conversation

Icxolu
Copy link
Contributor

@Icxolu Icxolu commented Jul 27, 2024

Fix nightly to unblock merges

Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant, thanks for fixing! Looks like @alex was on the right lines in #4383 but just was thinking too advanced for current stable 🤣

@@ -149,7 +149,10 @@ macro_rules! pyobject_native_type_named (
#[macro_export]
macro_rules! pyobject_native_static_type_object(
($typeobject:expr) => {
|_py| unsafe { ::std::ptr::addr_of_mut!($typeobject) }
|_py| {
#[allow(unused_unsafe)] // https://github.com/rust-lang/rust/pull/125834
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah great, so it looks like one day we won't need the allow at all. Great investigation!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably gonna be a while until we're at MSRV 1.82, but eventually is better than never 😆

@davidhewitt davidhewitt added this pull request to the merge queue Jul 27, 2024
Merged via the queue into PyO3:main with commit 6ef4ca3 Jul 27, 2024
82 checks passed
@Icxolu Icxolu deleted the fix/ci branch July 27, 2024 19:49
davidhewitt pushed a commit that referenced this pull request Sep 13, 2024
davidhewitt pushed a commit that referenced this pull request Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-build-full CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants